[LIBXC][IA64] fix build warning
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 25 Oct 2006 21:29:00 +0000 (15:29 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 25 Oct 2006 21:29:00 +0000 (15:29 -0600)
With warnings becoming errors, this fixes the libxc build on ia64

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
tools/libxc/xc_linux_build.c
tools/libxc/xenctrl.h

index e215d7e1981a42968299060573f0876795661b4f..a95ebd5c54afece9b627ec73fb8ff7c0810b9424 100644 (file)
@@ -446,8 +446,6 @@ static int setup_pg_tables_64(int xc_handle, uint32_t dom,
 #endif
 
 #ifdef __ia64__
-extern unsigned long xc_ia64_fpsr_default(void);
-
 static int setup_guest(int xc_handle,
                        uint32_t dom,
                        const char *image, unsigned long image_size,
index 8689b18cbd74e1995a06523edb85fab5bf4a2821..d4249936c995e6ade0b334f5e3051c0a67630e8f 100644 (file)
@@ -525,6 +525,8 @@ unsigned long xc_translate_foreign_address(int xc_handle, uint32_t dom,
 int xc_get_pfn_list(int xc_handle, uint32_t domid, xen_pfn_t *pfn_buf,
                     unsigned long max_pfns);
 
+unsigned long xc_ia64_fpsr_default(void);
+
 int xc_ia64_get_pfn_list(int xc_handle, uint32_t domid,
                          xen_pfn_t *pfn_buf,
                          unsigned int start_page, unsigned int nr_pages);